package de.tsajar.es;

import com.jme3.app.Application;
import com.jme3.app.state.AbstractAppState;
import com.jme3.app.state.AppStateManager;
import com.simsilica.es.EntityData;

/**
 *
 * @author Eike Foede
 */
public abstract class EntitySystemAppState extends AbstractAppState{
    protected EntityData ed;

    @Override
    public void initialize(AppStateManager stateManager, Application app) {
        super.initialize(stateManager, app);
        this.ed = stateManager.getState(EntityDataAppState.class).getEd();
    }
    
}
